﻿@model SocialPhotos.Widgets.LeftMenu.LeftMenuViewModel
 
<div class="art-vmenublock">
    <div class="art-vmenublock-body">
        <div class="art-vmenublockheader">
            <div class="l">
            </div>
            <div class="r">
            </div>
            <h3 class="t">
                Menu</h3>
        </div>
        <div class="art-vmenublockcontent">
            <div class="art-vmenublockcontent-body">
                <ul class="art-vmenu">
                    @if (Model != null && Model.LeftMenuItems != null) 
                    {
                        foreach (var item in Model.LeftMenuItems) 
                        {
                            <li><a href="@item.Link" 
                                    @if(item.IsActive) 
                                    {
                                        @:class="active"
                                     }
                                     ><span class="l"></span><span class="r"></span><span class="t">@item.Name</span></a>
                            </li>
                        }
                    }
                </ul>
                <div class="cleared">
                </div>
            </div>
        </div>
        <div class="cleared">
        </div>
    </div>
</div>
